////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//		File Name		:		CProjectile.h
//
//		Author			:		Lane Shapiro
//
//		Purpose			:		A header for all functions and members of the CProjectile class
//
//		Dates			:		Written( April 2, 2011 ) by Lane Shapiro
//	
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef CPROJECTILE_H_
#define CPROJECTILE_H_
#include "CBaseObject.h"

class CProjectile : public CBaseObject
{
	bool colide;

	float projectileScale;

	CProjectile( const CProjectile& copy);
	CProjectile& operator = (const CProjectile& assign);

public:
	CProjectile();
	~CProjectile();

	void SetColide(bool colide)	{this->colide = colide;}
	void SetProjectileScale(float newScale)	{projectileScale = newScale;}

	void Render();
	void Update(float fElapsedTime);

	//Collision
	RECT GetRect();
	bool CheckCollision( IBaseInterface* pBase );
};

#endif